package cn.edu.neusoft.demo.hospital2.pojo;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;  // 新增的导入语句

import java.util.Date;

@Data
@TableName("doctor")  // 显式指定对应的数据库表名为 doctor
public class Doctor {
    @TableId
    private String docId;
    private String docName;
    private String docGender;
    private String docNation;
    private int workYears;
    private String poliiticStatus;
    private String docTitle;
    private String education;
    private String introduction;
    private String telephone;
    private Date birthdate;
    private String userName;
    private int departId1;
    private int departId2;
    private String img;
    private int recommend;
}